/*
 * @Descripttion:
 * @version:
 * @Author: congsir
 * @Date: 2023-10-18 22:37:54
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2023-10-20 23:18:33
 */
import { useRoutes } from "react-router-dom";
import routes from "@/router";
import AppHeader from "@/components/app-header";
import AppFooter from "@/components/app-footer";
function App() {
  return (
    <div className="App">
      <AppHeader />
      <div className="page">{useRoutes(routes)}</div>
      <AppFooter />
    </div>
  );
}

export default App;
